package com.bw.module_announcement.http

import com.bw.lib_net.http.BaseResponse
import com.bw.module_announcement.model.AnnouncementModel
import retrofit2.http.GET
import retrofit2.http.Query


interface AnnouncementApi {
    @GET("/api/announcements")
    suspend fun getAnnouncements(@Query("page") page:Int, @Query("size") size:Int): BaseResponse<AnnouncementModel>
}